from double_odd import double_odd, double_odd1

# create UT for double_odd
def test_double_odd():
  assert double_odd([1, 2, 3, 4, 5]) == [2, 2, 6, 4, 10]
  assert double_odd([6, 7, 8, 9, 10]) == [6, 14, 8, 18, 10]
  assert double_odd([11, 12, 13, 14, 15]) == [22, 12, 26, 14, 30]
  assert double_odd([16, 17, 18, 19, 20]) == [16, 34, 18, 38, 20]
  assert double_odd([21, 22, 23, 24, 25]) == [42, 22, 46, 24, 50]
  print('All test cases pass')

def test_double_odd1():
  assert double_odd1([1, 2, 3, 4, 5]) == [2, 2, 6, 4, 10]
  assert double_odd1([6, 7, 8, 9, 10]) == [6, 14, 8, 18, 10]
  assert double_odd1([11, 12, 13, 14, 15]) == [22, 12, 26, 14, 30]
  assert double_odd1([16, 17, 18, 19, 20]) == [16, 34, 18, 38, 20]
  assert double_odd1([21, 22, 23, 24, 25]) == [42, 22, 46, 24, 50]
  print('All test cases pass')
  

if __name__ == "__main__":
  test_double_odd()
  test_double_odd1()